package org.lq.us.entity;

import lombok.Data;

@Data
public class Users {
	
	private int id;
	private String name;
	private String userName;
	private String password;
	private String gender;
	private int rid;
	private String head_icon;
	private Role role;
	
	
	public void setHead_icon(String head_icon) {
		if(head_icon == null) {
			head_icon = "timg.gif";
		}
		
		this.head_icon = head_icon;
	}
	

}
